﻿
////////////////////////////////////////////////////////////////////////////////////////////
// 文件名: ETL_Source_View_ColumnConfigInfo.cs
//
// 模块名称: ETLSourceViewColumnInfo
//
// 作者: lpc
//
// 历史记录（记录修改记录，修改文件后请添加修改记录，注明修改时间、修改人，修改内容）:
// 13-2-6  lpc  创建文件
////////////////////////////////////////////////////////////////////////////////////////////

using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    /// <summary>
    /// ETL_Source_View_ColumnConfig表实体类
    /// </summary>
    public class ETL_Source_View_ColumnConfigInfo
    {
        /// <summary>
        /// GUID
        /// </summary>
        public string Guid { get;set; }
        /// <summary>
        /// ViewID
        /// </summary>
        public string ViewID { get;set; }
        /// <summary>
        /// ColumnOrderID
        /// </summary>
        public int ColumnOrderID { get;set; }
        /// <summary>
        /// ColumnName
        /// </summary>
        public string ColumnName { get;set; }
        /// <summary>
        /// ColumnType
        /// </summary>
        public string ColumnType { get;set; }
        /// <summary>
        /// ColumnLength
        /// </summary>
        public int ColumnLength { get;set; }
        /// <summary>
        /// ColumnPrecision
        /// </summary>
        public int ColumnPrecision { get;set; }
        /// <summary>
        /// ColumnScale
        /// </summary>
        public int ColumnScale { get;set; }
        /// <summary>
        /// ColumnIsPK
        /// </summary>
        public int ColumnIsPK { get;set; }
        /// <summary>
        /// ColumnIsNullable
        /// </summary>
        public int ColumnIsNullable { get;set; }
        /// <summary>
        /// ColumnIsOrder
        /// </summary>
        public int ColumnIsOrder { get; set; }
        public int ColumnIsBigDataTag { get; set; }
        public string BigDataTagValue { get; set; }
        public String ColumnCNName { get; set; }
        /// <summary>
        /// ColumnScale
        /// </summary>
        public int ColumnIsExtract { get; set; } 
        /// <summary>
        /// CreateUser
        /// </summary>
        public string CreateUser { get;set; }
        /// <summary>
        /// CreateTime
        /// </summary>
        public DateTime CreateTime { get;set; }
        /// <summary>
        /// UpdateUser
        /// </summary>
        public string UpdateUser { get;set; }
        /// <summary>
        /// UpdateTime
        /// </summary>
        public DateTime UpdateTime { get;set; }
        /// <summary>
        /// DeleteUser
        /// </summary>
        public string DeleteUser { get;set; }
        /// <summary>
        /// DeleteTime
        /// </summary>
        public DateTime DeleteTime { get;set; }
        /// <summary>
        /// IsDelete
        /// </summary>
        public int IsDelete { get;set; }

    }
    public class ETL_Source_View_ColumnCmpList
    {
        /// <summary>
        /// GUID
        /// </summary>
        public string Guid { get; set; }
        /// <summary>
        /// ViewID
        /// </summary>
        public string ViewID { get; set; } 
        /// <summary>
        /// ColumnName
        /// </summary>
        public string ColumnName { get; set; }
        /// <summary>
        /// ColumnType
        /// </summary>
        public string ColumnType { get; set; }
        public string LocalColumnType { get; set; }
        /// <summary>
        /// ColumnLength
        /// </summary>
        public int ColumnLength { get; set; }
        /// <summary>
        /// ColumnPrecision
        /// </summary>
        public int ColumnPrecision { get; set; }
        /// <summary>
        /// ColumnScale
        /// </summary>
        public int ColumnScale { get; set; }
        /// <summary>
        /// ColumnIsPK
        /// </summary>
        public int ColumnIsPK { get; set; }
        public int LocalColumnIsPK { get; set; } 
    }

    public class ETL_Source_View_ColumnEdit {

        public string Guid { get; set; }
        public string Extract { get; set; }
        public string ColumnName { get; set; }
        public int ColumnOrderID { get; set; }
        public string ColumnType { get; set; }
        public string PK { get; set; }
        public string Incremental { get; set; }
        public string ColumnCNName { get; set; }
        public string ColumnIsBigDataTag { get; set; }
        public string BigDataTagValue { get; set; }
    }
}